Class: Square::OAuth2::Client
- Inherits:
-
Rack::OAuth2::Client
- Object
- Rack::OAuth2::Client
- Square::OAuth2::Client
- Defined in:
- lib/square/oauth2/client.rb
Instance Method Summary collapse
-
#initialize(*options) ⇒ Client
constructor
A new instance of Client.
- #renew! ⇒ Object
Constructor Details
#initialize(*options) ⇒ Client
Returns a new instance of Client.
4 5 6 7 8 9 10 |
# File 'lib/square/oauth2/client.rb', line 4 def initialize(*) attributes = . attributes[:identifier] ||= .first attributes[:secret] ||= .second attributes[:host] ||= 'squareup.com' super attributes end |
Instance Method Details
#renew! ⇒ Object
12 13 14 |
# File 'lib/square/oauth2/client.rb', line 12 def renew! # TODO end |