Sha256: a16bb91b3576255898ea1c4cbcf18a9c0033820ce45fb2affb4ef7a58046bbb0

Contents?: true

Size: 1.77 KB

Versions: 15

Compression:

Stored size: 1.77 KB

Contents

module RussianPost
  Operation = Struct.new(
    # address parameters
    :destination_address,   # Address
    :operation_address,     # Address
    :mail_direct,           # Country
    :country_from,          # Country
    :country_oper,          # Country

    # finance parameters
    :payment,               # Fixnum
    :value,                 # Fixnum
    :mass_rate,             # Fixnum
    :insr_rate,             # Fixnum
    :air_rate,              # Fixnum
    :rate,                  # Fixnum

    # item parameters
    :barcode,               # String
    :internum,              # String
    :valid_ru_type,         # Boolean
    :valid_en_type,         # Boolean
    :complex_item_name,     # String
    :mail_rank,             # GenericOperationParameter
    :post_mark,             # GenericOperationParameter
    :mail_type,             # GenericOperationParameter
    :mail_ctg,              # GenericOperationParameter
    :mass,                  # Fixnum
    :max_mass_ru,           # Fixnum
    :max_mass_en,           # Fixnum

    # operation parameters
    :oper_type,             # GenericOperationParameter
    :oper_attr,             # GenericOperationParameter
    :oper_date,             # DateTime

    # user parameters
    :send_ctg,              # GenericOperationParameter
    :sndr,                  # String
    :rcpn)                  # String

  Country = Struct.new(
    :id,                    # Fixnum
    :code_2a,               # String
    :code_3a,               # String
    :name_ru,               # String
    :name_en)               # String

  GenericOperationParameter = Struct.new(
    :id,                    # Fixnum
    :name)                  # String

  Address = Struct.new(
    :index,                 # String
    :description)           # String
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
russianpost-0.7.0 lib/russianpost/operation.rb
russianpost-0.6.0 lib/russianpost/operation.rb
russianpost-0.5.1 lib/russianpost/operation.rb
russianpost-0.5.0 lib/russianpost/operation.rb
russianpost-0.4.5 lib/russianpost/operation.rb
russianpost-0.4.4 lib/russianpost/operation.rb
russianpost-0.4.3 lib/russianpost/operation.rb
russianpost-0.4.2 lib/russianpost/operation.rb
russianpost-0.4.1 lib/russianpost/operation.rb
russianpost-0.4.0 lib/russianpost/operation.rb
russianpost-0.3.1 lib/russianpost/operation.rb
russianpost-0.3.0 lib/russianpost/operation.rb
russianpost-0.2.1 lib/russianpost/operation.rb
russianpost-0.2.0 lib/russianpost/operation.rb
russianpost-0.1.0 lib/russianpost/operation.rb