lib/waveapps.rb in waveapps-0.1.2 vs lib/waveapps.rb in waveapps-0.1.3

- old
+ new

@@ -15,17 +15,17 @@ } end end # Fetch latest schema on init, this will make a network request - # Schema = GraphQL::Client.load_schema(HTTP) + Schema = GraphQL::Client.load_schema(HTTP) # However, it's smart to dump this to a JSON file and load from disk # # Run it from a script or rake task # rake schema:dump # - Schema = GraphQL::Client.load_schema("./tmp/schema.json") + # Schema = GraphQL::Client.load_schema("./tmp/schema.json") Client = GraphQL::Client.new(schema: Schema, execute: HTTP) class Invoice ListInvoicesQuery = Waveapps::Client.parse <<-'GRAPHQL'