class HomeAway::API::Util::Defaults
@private
Public Instance Methods
adapter()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 63 def adapter :faraday end
auth_url()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 33 def auth_url '/oauth/authenticate?clientId=' end
auto_pagination()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 51 def auto_pagination true end
auto_reauth()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 67 def auto_reauth true end
cache_control()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 47 def cache_control 'max-age: 0, must-revalidate' end
connection_opts()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 59 def connection_opts {} end
logger()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 41 def logger default_logger = Logger.new(STDOUT) default_logger.level = Logger::WARN default_logger end
manual_token_supplied()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 71 def manual_token_supplied false end
page_size()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 55 def page_size 10 end
port()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 29 def port '443' end
site()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 25 def site 'https://ws.homeaway.com' end
test_mode()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 75 def test_mode false end
to_hash()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 79 def to_hash keys = self.class.instance_methods(false) keys.delete(:to_hash) hash = {} keys.each do |key| hash[key] = send key end hash end
token_url()
click to toggle source
# File lib/homeaway/api/util/defaults.rb, line 37 def token_url '/oauth/token?credentials=' end