Class: MfCloud::Invoice::Configure
- Inherits:
-
Object
- Object
- MfCloud::Invoice::Configure
- Defined in:
- lib/mf_cloud/invoice/configure.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#api_version ⇒ Object
readonly
Returns the value of attribute api_version.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Configure
constructor
A new instance of Configure.
Constructor Details
#initialize(options = {}) ⇒ Configure
Returns a new instance of Configure.
7 8 9 10 11 12 |
# File 'lib/mf_cloud/invoice/configure.rb', line 7 def initialize( = {}) @client_id = [:client_id] @client_secret = [:client_secret] @access_token = [:access_token] @api_version = :v1 end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
4 5 6 |
# File 'lib/mf_cloud/invoice/configure.rb', line 4 def access_token @access_token end |
#api_version ⇒ Object (readonly)
Returns the value of attribute api_version.
5 6 7 |
# File 'lib/mf_cloud/invoice/configure.rb', line 5 def api_version @api_version end |
#client_id ⇒ Object
Returns the value of attribute client_id.
4 5 6 |
# File 'lib/mf_cloud/invoice/configure.rb', line 4 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
4 5 6 |
# File 'lib/mf_cloud/invoice/configure.rb', line 4 def client_secret @client_secret end |