Exception: Sharepoint::UnsupportedType
- Defined in:
- lib/sharepoint-errors.rb
Instance Attribute Summary collapse
-
#type_name ⇒ Object
Returns the value of attribute type_name.
Instance Method Summary collapse
-
#initialize(type_name) ⇒ UnsupportedType
constructor
A new instance of UnsupportedType.
- #message ⇒ Object
Constructor Details
#initialize(type_name) ⇒ UnsupportedType
Returns a new instance of UnsupportedType.
26 27 28 |
# File 'lib/sharepoint-errors.rb', line 26 def initialize type_name @type_name = type_name end |
Instance Attribute Details
#type_name ⇒ Object
Returns the value of attribute type_name.
24 25 26 |
# File 'lib/sharepoint-errors.rb', line 24 def type_name @type_name end |
Instance Method Details
#message ⇒ Object
30 31 32 |
# File 'lib/sharepoint-errors.rb', line 30 def "unsupported type '#{@type_name}'" end |