module TravelPayouts
Constants
- VERSION
Public Class Methods
api(config = {})
click to toggle source
# File lib/travelpayouts_api.rb, line 32 def api(config = {}) TravelPayouts::Api.new(config) end
config()
click to toggle source
# File lib/travelpayouts_api.rb, line 28 def config @config ||= OpenStruct.new {} end
configure() { |config| ... }
click to toggle source
# File lib/travelpayouts_api.rb, line 24 def configure yield config end