Class: Callapi::Routes::Metadata

Inherits:
Object
  • Object
show all
Defined in:
lib/callapi/routes/metadata.rb

Instance Method Summary collapse

Constructor Details

#initialize(http_method_namespace, *args) ⇒ Metadata

Returns a new instance of Metadata.



2
3
4
5
6
7
8
9
10
# File 'lib/callapi/routes/metadata.rb', line 2

def initialize(http_method_namespace, *args)
  @http_method_namespace = http_method_namespace
  @call_name, @call_options = args.shift.to_s, *args

  call_name_with_all_namespaces.size.times do |i|
     = (i)
    Callapi::Routes.send(:save_class, ) if 
  end
end