Class: Retab::ReviewTopMarginLt

Inherits:
Types::BaseModel show all
Defined in:
lib/retab/workflow_reviews/review_top_margin_lt.rb

Constant Summary collapse

HASH_ATTRS =
{
  kind: :kind,
  margin: :margin
}.freeze

Instance Attribute Summary collapse

Attributes inherited from Types::BaseModel

#last_response

Instance Method Summary collapse

Methods inherited from Types::BaseModel

#inspect, normalize, #to_h, #to_json

Constructor Details

#initialize(json) ⇒ ReviewTopMarginLt

Returns a new instance of ReviewTopMarginLt.



17
18
19
20
21
# File 'lib/retab/workflow_reviews/review_top_margin_lt.rb', line 17

def initialize(json)
  hash = self.class.normalize(json)
  @kind = hash[:kind]
  @margin = hash[:margin]
end

Instance Attribute Details

#kindObject

Returns the value of attribute kind.



13
14
15
# File 'lib/retab/workflow_reviews/review_top_margin_lt.rb', line 13

def kind
  @kind
end

#marginObject

Returns the value of attribute margin.



13
14
15
# File 'lib/retab/workflow_reviews/review_top_margin_lt.rb', line 13

def margin
  @margin
end