Sha256: 7eb489d1143d374c3c322c05dbc664afcc26e3cb589e2bd6095031106839aa2a

Contents?: true

Size: 598 Bytes

Versions: 2

Compression:

Stored size: 598 Bytes

Contents

module CrystalApi
  class Category
    include Attributes

    root_element :category

    integer_attribute :id
    integer_attribute :catalog_id

    string_attribute :name
    string_attribute :seoname

    boolean_attribute :is_root
    boolean_attribute :is_leaf
    boolean_attribute :is_visible_for_selling
    boolean_attribute :is_visible_for_buying

    string_attribute :description
    string_attribute :browse_layout

    hash_attribute :catalog_links, :url
    hash_attribute :buylist_links, :url

    array_attribute :descriptors

    embedded_attribute :ancestors, :array
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
crystal_api-0.1.0 lib/crystal_api/category.rb
crystal_api-0.0.1 lib/crystal_api/category.rb