Sha256: cfe606c74c746065952eaf21b78357333e6a72e981593c3e0996815e22f602dd

Contents?: true

Size: 287 Bytes

Versions: 16

Compression:

Stored size: 287 Bytes

Contents

module PublishMyData
  class PropertyRenderParams

    def initialize(resource)
      @resource = resource
      @property = resource.as_property
    end

    def render_params(opts={})
      {template: 'publish_my_data/properties/show', locals: {property: @property}}
    end

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
publish_my_data-0.0.20 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.19 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.18 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.17 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.16 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.15 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.14 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.13 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.12 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.11 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.10 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.9 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.8 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.7 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.5 lib/publish_my_data/render_params/property_render_params.rb
publish_my_data-0.0.4 lib/publish_my_data/render_params/property_render_params.rb