Exception: GoogleAppsApi::GDataError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/google_apps_api/exceptions.rb,
lib/google_apps_api/base_api.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGDataError

Returns a new instance of GDataError.



229
230
# File 'lib/google_apps_api/base_api.rb', line 229

def initialize()
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



227
228
229
# File 'lib/google_apps_api/base_api.rb', line 227

def code
  @code
end

#inputObject

Returns the value of attribute input.



227
228
229
# File 'lib/google_apps_api/base_api.rb', line 227

def input
  @input
end

#reasonObject

Returns the value of attribute reason.



227
228
229
# File 'lib/google_apps_api/base_api.rb', line 227

def reason
  @reason
end

Instance Method Details

#inspectObject



236
237
238
239
# File 'lib/google_apps_api/base_api.rb', line 236

def inspect
  "#{code}: #{reason}"
  
end

#to_sObject



232
233
234
# File 'lib/google_apps_api/base_api.rb', line 232

def to_s
  "#{code}: #{reason}"
end