Exception: Creatary::OAuthConsumerAttributesMissing

Inherits:
Error
  • Object
show all
Defined in:
lib/creatary/error.rb

Overview

Raised when client tries to use any of the API methods that require OAUTH without configuring the consumer_key or consumer_secret

Instance Attribute Summary

Attributes inherited from Error

#body

Instance Method Summary collapse

Constructor Details

#initializeOAuthConsumerAttributesMissing

Returns a new instance of OAuthConsumerAttributesMissing.



15
16
17
# File 'lib/creatary/error.rb', line 15

def initialize
  super 'consumer_key or consumer_secret not configured'
end