Sha256: 21b172ac68a4b83ad26a786de6c8b55f58ce8624ce7c2a809768e9319aa6db65

Contents?: true

Size: 533 Bytes

Versions: 16

Compression:

Stored size: 533 Bytes

Contents

# Class Annotation represents structure of annotation
#
#  annotation = Annotation.new
#  annotation.name            # => String
#  annotation.annotation_type # => String
#  annotation.options         # => Array of AnnotationOption objects
#
class Annotation < SuperModel::Base
  attributes :name, :annotation_type, :options

  # Class AnnotaionType represents container of constants of annotation types:
  #  SELECT = 1
  #  STRING = 2
  #  NUMBER = 3
  #
  class AnnotaionType
    SELECT = 1
    STRING = 2
    NUMBER = 3
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
threetaps-client-1.0.14 lib/models/annotations/annotation.rb
threetaps-client-1.0.13 lib/models/annotations/annotation.rb
threetaps-client-1.0.12 lib/models/annotations/annotation.rb
threetaps-client-1.0.11 lib/models/annotations/annotation.rb
threetaps-client-1.0.10 lib/models/annotations/annotation.rb
threetaps-client-1.0.9 lib/models/annotations/annotation.rb
threetaps-client-1.0.8 lib/models/annotations/annotation.rb
threetaps-client-1.0.7 lib/models/annotations/annotation.rb
threetaps-client-1.0.6 lib/models/annotations/annotation.rb
threetaps-client-1.0.5 lib/models/annotations/annotation.rb
threetaps-client-1.0.4 lib/models/annotations/annotation.rb
threetaps-client-1.0.3 lib/models/annotations/annotation.rb
threetaps-client-1.0.2 lib/models/annotations/annotation.rb
threetaps-client-1.0.1 lib/models/annotations/annotation.rb
threetaps-client-1.0.0 lib/models/annotations/annotation.rb
threetaps-client-0.5.1 lib/models/annotations/annotation.rb