I've been trying to test out the stormpath ruby sdk. The instructions from the repo has been followed as is (copied here for clarity)
require 'stormpath-sdk'
client = Stormpath::Client::Client.new({api_key: {id: "...", secret: "..."}})
(Note the addition of an extra Client
, differs from documentation - cannot instantiate a module)At this point, any further execution of commands as documented in the repo becomes impossible due to undefined method
errors.
Stormpack::Client
is a class.
Stormpack::Client.new
is perfectly valid.
You have a glitch somewhere else. Try to run and then copy their tests to get it working.