Module: Shutterstock::API::Auth
Constant Summary collapse
- BASE_PATH =
'auth'
Constants included from Util
Instance Attribute Summary
Attributes included from Configurable
#api_key, #api_username, #email, #password, #username
Instance Method Summary collapse
Methods included from Configurable
#configure, #credentials, keys
Methods included from Util
Instance Method Details
#customer(options = {}) ⇒ Object
10 11 12 |
# File 'lib/shutterstock/api/auth.rb', line 10 def customer( = {}) call([BASE_PATH, 'customer'], :post, {username: credentials[:username], password: credentials[:password]}.merge()) end |