Sha256: 31d8b634b49dee8732e3b93f698ad33c60346188925d24fbc45c59cdc205b2b8

Contents?: true

Size: 587 Bytes

Versions: 1

Compression:

Stored size: 587 Bytes

Contents

module Printfection
  class LineItem < Resource
    extend Actions::Retrieve
    extend Actions::Create
    include Actions::Update
    include Actions::Delete

    property :id,         transform_with: Transforms::Integer
    property :order_id,   transform_with: Transforms::Integer
    property :item_id,    transform_with: Transforms::Integer
    property :size_id,    transform_with: Transforms::Integer
    property :quantity,   transform_with: Transforms::Integer
    property :created_at, transform_with: Transforms::Date

    def self.uri
      "/lineitems"
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
printfection-1.0.0 lib/printfection/line_item.rb