Exception: Sharepoint::UnsupportedType

Inherits:
SharepointError 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.



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

def initialize type_name
  @type_name = type_name
end

Instance Attribute Details

#type_nameObject

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

#messageObject



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

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