Sha256: 322e7c61ef2ccead1e5cd0d438aecf4bc15c48200dfd84367e5a7e17c3327ce1

Contents?: true

Size: 118 Bytes

Versions: 7

Compression:

Stored size: 118 Bytes

Contents

module PayuAPI
  class GetResponse < Response
    def order
      body[:orders] && body[:orders][0]
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
payu_api-0.1.7 lib/payu_api/responses/get_response.rb
payu_api-0.1.5 lib/payu_api/responses/get_response.rb
payu_api-0.1.4 lib/payu_api/responses/get_response.rb
payu_api-0.1.3 lib/payu_api/responses/get_response.rb
payu_api-0.1.2 lib/payu_api/responses/get_response.rb
payu_api-0.1.1 lib/payu_api/responses/get_response.rb
payu_api-0.1.0 lib/payu_api/responses/get_response.rb