Class: Shipeasy::SDK::See::Violation

Inherits:
Object
  • Object
show all
Defined in:
lib/shipeasy/sdk/see.rb

Overview

A non-exception problem. The name is a stable fingerprint key — put variable data in ‘.extras`, never in the name.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Violation

Returns a new instance of Violation.



105
106
107
# File 'lib/shipeasy/sdk/see.rb', line 105

def initialize(name)
  @name = name.to_s
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



103
104
105
# File 'lib/shipeasy/sdk/see.rb', line 103

def name
  @name
end