Module: Yoolinkpro
- Extended by:
- Yoolinkpro
- Included in:
- Yoolinkpro
- Defined in:
- lib/yoolinkpro/api.rb,
lib/yoolinkpro/client.rb,
lib/yoolinkpro-ruby-sdk.rb,
lib/yoolinkpro/exceptions.rb
Defined Under Namespace
Constant Summary collapse
- API_SERVER =
"api.yoolinkpro.com"
- API_VERSION =
1
- ApiException =
Class.new(Exception)
Instance Attribute Summary collapse
-
#admin_key ⇒ Object
Returns the value of attribute admin_key.
-
#private_key ⇒ Object
Returns the value of attribute private_key.
-
#public_key ⇒ Object
Returns the value of attribute public_key.
Instance Method Summary collapse
-
#configure {|_self| ... } ⇒ Object
config/initializers/load_yoolinkpro.rb (for rails).
Instance Attribute Details
#admin_key ⇒ Object
Returns the value of attribute admin_key.
13 14 15 |
# File 'lib/yoolinkpro-ruby-sdk.rb', line 13 def admin_key @admin_key end |
#private_key ⇒ Object
Returns the value of attribute private_key.
13 14 15 |
# File 'lib/yoolinkpro-ruby-sdk.rb', line 13 def private_key @private_key end |
#public_key ⇒ Object
Returns the value of attribute public_key.
13 14 15 |
# File 'lib/yoolinkpro-ruby-sdk.rb', line 13 def public_key @public_key end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
config/initializers/load_yoolinkpro.rb (for rails)
Yoolinkpro.configure do |config|
config.public_key = 'public_key'
config.private_key = 'private_key'
config.admin_key = 'admin_key'
end
22 23 24 |
# File 'lib/yoolinkpro-ruby-sdk.rb', line 22 def configure yield self end |