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-3.4.0.rc2 app/views/spree/api/v1/states/index.v1.rabl
spree_api-3.4.0.rc1 app/views/spree/api/v1/states/index.v1.rabl