Sha256: b1d94e18f22723fdf5bd1a63e3e168a31562cd53485038a832c9577b9452be6a

Contents?: true

Size: 247 Bytes

Versions: 16

Compression:

Stored size: 247 Bytes

Contents

module PublishMyData
  class ResourceRenderParams

    def initialize(resource)
      @resource = resource
    end

    def render_params(opts={})
      {template: 'publish_my_data/resources/show', locals: {resource: @resource}}
    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/resource_render_params.rb
publish_my_data-0.0.19 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.18 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.17 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.16 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.15 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.14 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.13 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.12 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.11 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.10 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.9 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.8 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.7 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.5 lib/publish_my_data/render_params/resource_render_params.rb
publish_my_data-0.0.4 lib/publish_my_data/render_params/resource_render_params.rb