Sha256: e1dc624a2802ed048cc65eb6dc6f8e54ae8dcf7046f24e256ddf834b24ee61d3

Contents?: true

Size: 396 Bytes

Versions: 1

Compression:

Stored size: 396 Bytes

Contents

require 'characterizable'

module BrighterPlanet
  module Lodging
    module Characterization
      def self.included(base)
        base.send :include, Characterizable
        base.characterize do
          has :lodging_class
          has :zip_code
          has :state
          has :rooms
          has :nights
        end
        base.add_implicit_characteristics
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lodging-0.0.5 lib/lodging/characterization.rb