Sha256: f2f785a89e4db6e72f60a2fabb6ffd290d7dd49673a4560fda2046a3da0d870d

Contents?: true

Size: 279 Bytes

Versions: 8

Compression:

Stored size: 279 Bytes

Contents

class Agilibox::Serializers::Base
  attr_reader :data, :options

  def initialize(data, options = {})
    @data    = data
    @options = options
  end

  def render_inline
    raise NotImplementedError
  end

  def render_file(file_path)
    raise NotImplementedError
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
agilibox-1.0.7 app/serializers/agilibox/serializers/base.rb
agilibox-1.0.6 app/serializers/agilibox/serializers/base.rb
agilibox-1.0.5 app/serializers/agilibox/serializers/base.rb
agilibox-1.0.4 app/serializers/agilibox/serializers/base.rb
agilibox-1.0.3 app/serializers/agilibox/serializers/base.rb
agilibox-1.0.2 app/serializers/agilibox/serializers/base.rb
agilibox-1.0.1 app/serializers/agilibox/serializers/base.rb
agilibox-1.0.0 app/serializers/agilibox/serializers/base.rb