Sha256: 6c086c2779b2262e55fcf09e7e961bc4a1efc8bdb11654c143bb09252f0c665d

Contents?: true

Size: 350 Bytes

Versions: 23

Compression:

Stored size: 350 Bytes

Contents

#
#  Attribute model.
#
module Restful
  module ApiModel
    class Attribute
      attr_accessor :name, :value, :type, :extended_type
      
      def initialize(name, value, extended_type)
        self.name = name
        self.value = value
        self.extended_type = extended_type
        self.type = :simple_attribute
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 4 rubygems

Version Path
benjaminkrause-restful-0.2.8 lib/restful/apimodel/attribute.rb
moviepilot-restful-0.2.18 lib/restful/apimodel/attribute.rb
moviepilot-restful-0.2.19 lib/restful/apimodel/attribute.rb
moviepilot-restful-0.2.20 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.1 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.10 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.11 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.12 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.13 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.14 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.15 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.16 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.17 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.18 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.2 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.3 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.4 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.5 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.6 lib/restful/apimodel/attribute.rb
purzelrakete-restful-0.2.7 lib/restful/apimodel/attribute.rb