Sha256: a4e1947256213fe9235cf34cfeda693cde0321dcebb9e3e2445e05fdeadd818b
Contents?: true
Size: 313 Bytes
Versions: 2
Compression:
Stored size: 313 Bytes
Contents
TEST_API_URI = URI('http://sample.lvh.me:4000/locomotive/api').freeze TEST_API_CREDENTIALS = { email: 'john@doe.net', password: 'easyone' }.freeze def api_token(uri = nil, credentials = nil) Locomotive::Coal::Resources::Token.new(uri || TEST_API_URI, credentials || TEST_API_CREDENTIALS.dup).get end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
locomotivecms_coal-1.0.0.pre.alpha.1 | spec/support/api_settings.rb |
locomotivecms_coal-1.0.0.pre.alpha | spec/support/api_settings.rb |