Class: Vk::Schema::Definition::Error

Inherits:
Vk::Schema::Definition show all
Defined in:
lib/vk/schema/definition/error.rb

Instance Attribute Summary

Attributes inherited from Vk::Schema::Definition

#definition, #name, #schema

Instance Method Summary collapse

Methods inherited from Vk::Schema::Definition

#description, #initialize, #to_s

Constructor Details

This class inherits a constructor from Vk::Schema::Definition

Instance Method Details

#codeString

Returns:

  • (String)

14
15
16
# File 'lib/vk/schema/definition/error.rb', line 14

def code
  definition['code']
end

#type_nameString

Returns:

  • (String)

9
10
11
# File 'lib/vk/schema/definition/error.rb', line 9

def type_name
  name.camelize
end