Sha256: 7a3c7190bce04bf7e572c08ef4ad17cde2814213b5fc42fdcdee1de8c18aa158

Contents?: true

Size: 312 Bytes

Versions: 102

Compression:

Stored size: 312 Bytes

Contents

object false
node(:states_required) { @country.states_required } if @country

child(@states => :states) do
  attributes *state_attributes
end

if @states.respond_to?(:total_pages)
  node(:count) { @states.count }
  node(:current_page) { params[:page].try(:to_i) || 1 }
  node(:pages) { @states.total_pages }
end

Version data entries

102 entries across 102 versions & 3 rubygems

Version Path
spree_api-4.0.9 app/views/spree/api/v1/states/index.rabl
spree_api-4.1.15 app/views/spree/api/v1/states/index.rabl
spree_api-4.2.7 app/views/spree/api/v1/states/index.rabl
spree_api-4.3.3 app/views/spree/api/v1/states/index.rabl
spree_api-4.4.1 app/views/spree/api/v1/states/index.rabl
spree_api_v1-4.5.0 app/views/spree/api/v1/states/index.rabl
spree_api-4.2.6 app/views/spree/api/v1/states/index.rabl
spree_api-4.3.2 app/views/spree/api/v1/states/index.rabl
spree_api-4.4.0 app/views/spree/api/v1/states/index.rabl
spree_api-4.4.0.rc2 app/views/spree/api/v1/states/index.rabl
spree_api-4.3.1 app/views/spree/api/v1/states/index.rabl
spree_api-4.4.0.rc1 app/views/spree/api/v1/states/index.rabl
spree_api-4.3.0 app/views/spree/api/v1/states/index.rabl
spree_api-4.3.0.rc3 app/views/spree/api/v1/states/index.rabl
spree_api-4.3.0.rc2 app/views/spree/api/v1/states/index.rabl
spree_api-4.3.0.rc1 app/views/spree/api/v1/states/index.rabl
harpiya_api-4.3.0.alpha app/views/harpiya/api/v1/states/index.rabl
spree_api-4.2.5 app/views/spree/api/v1/states/index.rabl
spree_api-4.1.14 app/views/spree/api/v1/states/index.rabl
spree_api-4.0.8 app/views/spree/api/v1/states/index.rabl