Exception: GoogleAppsApi::GDataError

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (GDataError) initialize



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

def initialize()
end

Instance Attribute Details

- (Object) code

Returns the value of attribute code



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

def code
  @code
end

- (Object) input

Returns the value of attribute input



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

def input
  @input
end

- (Object) reason

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

- (Object) inspect



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

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

- (Object) to_s



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

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