Class: WebmaniabrNfeRuby::Authenticate
- Inherits:
-
Object
- Object
- WebmaniabrNfeRuby::Authenticate
- Defined in:
- lib/webmaniabr_nfe_ruby/authenticate.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#access_token_secret ⇒ Object
Returns the value of attribute access_token_secret.
-
#consumer_key ⇒ Object
Returns the value of attribute consumer_key.
-
#consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Authenticate
constructor
A new instance of Authenticate.
Constructor Details
#initialize(options = {}) ⇒ Authenticate
6 7 8 9 10 11 |
# File 'lib/webmaniabr_nfe_ruby/authenticate.rb', line 6 def initialize( = {}) self.consumer_key = [:consumer_key] self.consumer_secret = [:consumer_secret] self.access_token = [:access_token] self.access_token_secret = [:access_token_secret] end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
3 4 5 |
# File 'lib/webmaniabr_nfe_ruby/authenticate.rb', line 3 def access_token @access_token end |
#access_token_secret ⇒ Object
Returns the value of attribute access_token_secret.
3 4 5 |
# File 'lib/webmaniabr_nfe_ruby/authenticate.rb', line 3 def access_token_secret @access_token_secret end |
#consumer_key ⇒ Object
Returns the value of attribute consumer_key.
3 4 5 |
# File 'lib/webmaniabr_nfe_ruby/authenticate.rb', line 3 def consumer_key @consumer_key end |
#consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
3 4 5 |
# File 'lib/webmaniabr_nfe_ruby/authenticate.rb', line 3 def consumer_secret @consumer_secret end |