Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 12deaab

Browse files
author
Caitlin Bales (MSFT)
committed
Remove debugging pry and update README example to use cached metadata
1 parent 5e16016 commit 12deaab

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ callback = Proc.new { |r| r.headers["Authorization"] = "Bearer #{tokens.access_t
4747

4848
graph = MicrosoftGraph.new(
4949
base_url: "https://graph.microsoft.com/v1.0",
50+
cached_metadata_file: File.join(MicrosoftGraph::CACHED_METADATA_DIRECTORY, "metadata_v1.0.xml"),
5051
&callback
5152
)
5253

lib/microsoft_graph/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
class MicrosoftGraph
2-
VERSION = "0.1.0"
2+
VERSION = "0.1.1"
33
end

lib/odata/service.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ def build_collection(collection_name)
242242

243243
def build_operation(operation_xml)
244244
binding_type = if operation_xml["IsBound"] == "true"
245-
binding.pry if operation_xml.xpath("./Parameter[@Name='bindingParameter']|./Parameter[@Name='bindingparameter']").length == 0
246245
type_name = operation_xml.xpath("./Parameter[@Name='bindingParameter']|./Parameter[@Name='bindingparameter']").first["Type"]
247246
get_type_by_name(type_name)
248247
end

0 commit comments

Comments
 (0)