Sha256: e30d59d6605844a7c296218639b4cd296527cb8a5667c2906d8cb215fb88806f

Contents?: true

Size: 570 Bytes

Versions: 1

Compression:

Stored size: 570 Bytes

Contents

require 'addressable/uri'
require 'leadlight/link'

module Leadlight
  module Representation
    attr_accessor :__service__
    attr_accessor :__location__
    attr_accessor :__response__
    attr_accessor :__type__

    def initialize_representation(service, location, response)
      self.__service__ = service
      self.__location__ = location
      self.__response__ = response
      self
    end

    def apply_all_tints
      __service__.tints.inject(self, &:extend)
      __apply_tint__
      self
    end


    private

    def __apply_tint__
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
leadlight-0.0.2 lib/leadlight/representation.rb