Exception: Sharepoint::UnsupportedType
- Inherits:
-
SharepointError
- Object
- StandardError
- SharepointError
- Sharepoint::UnsupportedType
- Defined in:
- lib/sharepoint-types.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.
8 9 10 |
# File 'lib/sharepoint-types.rb', line 8 def initialize type_name @type_name = type_name end |
Instance Attribute Details
#type_name ⇒ Object
Returns the value of attribute type_name.
6 7 8 |
# File 'lib/sharepoint-types.rb', line 6 def type_name @type_name end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/sharepoint-types.rb', line 12 def "unsupported type '#{@type_name}'" end |