Class: WellsFargo::API
- Inherits:
-
Object
- Object
- WellsFargo::API
- Includes:
- Endpoints
- Defined in:
- lib/wells_fargo/api.rb
Instance Attribute Summary collapse
-
#credentials ⇒ Object
readonly
Returns the value of attribute credentials.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
- #execute(method, path, params) ⇒ Object
-
#initialize(url, credentials) ⇒ API
constructor
A new instance of API.
Methods included from Endpoints
Constructor Details
#initialize(url, credentials) ⇒ API
Returns a new instance of API.
14 15 16 17 |
# File 'lib/wells_fargo/api.rb', line 14 def initialize(url, credentials) @url = url @credentials = credentials end |
Instance Attribute Details
#credentials ⇒ Object (readonly)
Returns the value of attribute credentials.
12 13 14 |
# File 'lib/wells_fargo/api.rb', line 12 def credentials @credentials end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
12 13 14 |
# File 'lib/wells_fargo/api.rb', line 12 def url @url end |