Exception: Sharepoint::UnsupportedType

Inherits:
Exception
  • Object
show all
Defined in:
lib/sharepoint-types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type_name) ⇒ UnsupportedType

Returns a new instance of UnsupportedType


7
8
9
# File 'lib/sharepoint-types.rb', line 7

def initialize type_name
  @type_name = type_name
end

Instance Attribute Details

#type_nameObject

Returns the value of attribute type_name


5
6
7
# File 'lib/sharepoint-types.rb', line 5

def type_name
  @type_name
end

Instance Method Details

#messageObject


11
12
13
# File 'lib/sharepoint-types.rb', line 11

def message
  "unsupported type '#{@type_name}'"
end