Sha256: 6c7b108dd507385f7906541d84f296082517d71f84152061e58bb4ef80bfdc1a

Contents?: true

Size: 225 Bytes

Versions: 1

Compression:

Stored size: 225 Bytes

Contents

require 'json'

module Airbnb
  class V1 < Base
    URL = "#{Airbnb::Base::URL}/v1".freeze

    class << self
      def authorize(params)
        post("#{Airbnb::V1::URL}/authorize", form: params)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
airbnb-0.0.2 lib/airbnb/v1.rb