Sha256: 2e5ec5928d2f43871356f52f1216ae414345b7d1fa231e728ce6fb70c3a5cf81

Contents?: true

Size: 469 Bytes

Versions: 15

Compression:

Stored size: 469 Bytes

Contents

module Vzaar
  module Resource
    class AccountType < Base
      root_node "//account"

      attribute :title
      attribute :id, field: :account_id, type: Integer
      attribute :monthly, node: "cost", type: Integer
      attribute :currency, node: "cost"
      attribute :borderless, node: "rights", type: Boolean
      attribute :bandwidth, type: Integer
      attribute :search_enhancer, node: "rights", field: :searchEnhancer, type: Boolean

    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
vzaar-1.6.2 lib/vzaar/resources/account_type.rb
vzaar-1.6.1 lib/vzaar/resources/account_type.rb
vzaar-1.6.0 lib/vzaar/resources/account_type.rb
vzaar-1.5.3 lib/vzaar/resources/account_type.rb
vzaar-1.5.2 lib/vzaar/resources/account_type.rb
vzaar-1.5.1 lib/vzaar/resources/account_type.rb
vzaar-1.5.0 lib/vzaar/resources/account_type.rb
vzaar-1.4.4 lib/vzaar/resources/account_type.rb
vzaar-1.4.1 lib/vzaar/resources/account_type.rb
vzaar-1.3.1 lib/vzaar/resources/account_type.rb
vzaar-1.3.0 lib/vzaar/resources/account_type.rb
vzaar-1.2.4 lib/vzaar/resources/account_type.rb
vzaar-1.2.3 lib/vzaar/resources/account_type.rb
vzaar-1.2.2 lib/vzaar/resources/account_type.rb
vzaar-1.0.0 lib/vzaar/resources/account_type.rb