Sha256: e053f26f94fa46290573c63d12f54f02f6a164382ed6f0f9b6b5afef8a9b643e

Contents?: true

Size: 165 Bytes

Versions: 4

Compression:

Stored size: 165 Bytes

Contents

require "alephant/renderer/views/json"

module MyApp
  class Foo < ::Alephant::Renderer::Views::Json
    def to_h
      { "content" => "as json" }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alephant-preview-0.5.3 spec/fixtures/components/foo/models/foo.rb
alephant-preview-0.5.2 spec/fixtures/components/foo/models/foo.rb
alephant-preview-0.5.1 spec/fixtures/components/foo/models/foo.rb
alephant-preview-0.5.0 spec/fixtures/components/foo/models/foo.rb