Class: KayakoApi
- Inherits:
-
Object
- Object
- KayakoApi
- Defined in:
- lib/kayakoapi-ruby.rb
Instance Method Summary collapse
-
#initialize(base_url, app_key, app_secret) ⇒ KayakoApi
constructor
A new instance of KayakoApi.
- #signature ⇒ Object
- #url ⇒ Object
Constructor Details
Instance Method Details
#signature ⇒ Object
22 23 24 |
# File 'lib/kayakoapi-ruby.rb', line 22 def signature @api_sig.new_signature end |
#url ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/kayakoapi-ruby.rb', line 13 def url @api_sig.new_signature.each { |key, value| @url_builder.append_to_url(key, value) } begin @url_builder.full_url rescue => e false end end |