Class: Vk::Schema::Generator::Methods
- Inherits:
-
Common
- Object
- Thor::Group
- Common
- Vk::Schema::Generator::Methods
show all
- Defined in:
- lib/vk/schema/generator/methods.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods inherited from Common
create_definition, source_root
Instance Attribute Details
10
|
# File 'lib/vk/schema/generator/methods.rb', line 10
argument :schema
|
Instance Method Details
#create_methods ⇒ Object
12
13
14
15
16
|
# File 'lib/vk/schema/generator/methods.rb', line 12
def create_methods
schema.methods.each do |method|
Generator::Method.start([method])
end
end
|
#create_methods_autoload ⇒ Object
18
19
20
|
# File 'lib/vk/schema/generator/methods.rb', line 18
def create_methods_autoload
overwrite_template('methods.tt', 'lib/vk/api/methods.rb')
end
|