Class: SoapyBing::Customer
- Inherits:
-
Object
- Object
- SoapyBing::Customer
- Defined in:
- lib/soapy_bing/customer.rb
Instance Attribute Summary collapse
-
#customer_id ⇒ Object
readonly
Returns the value of attribute customer_id.
-
#developer_token ⇒ Object
readonly
Returns the value of attribute developer_token.
Instance Method Summary collapse
-
#initialize(account_options) ⇒ Customer
constructor
A new instance of Customer.
Constructor Details
#initialize(account_options) ⇒ Customer
Returns a new instance of Customer.
6 7 8 9 10 |
# File 'lib/soapy_bing/customer.rb', line 6 def initialize() param_guard = ParamGuard.new(, env_namespace: 'BING_ADS') @developer_token = param_guard.require!(:developer_token) @customer_id = param_guard.require!(:customer_id) end |
Instance Attribute Details
#customer_id ⇒ Object (readonly)
Returns the value of attribute customer_id.
4 5 6 |
# File 'lib/soapy_bing/customer.rb', line 4 def customer_id @customer_id end |
#developer_token ⇒ Object (readonly)
Returns the value of attribute developer_token.
4 5 6 |
# File 'lib/soapy_bing/customer.rb', line 4 def developer_token @developer_token end |