Class: Cenit::API::Version
- Inherits:
-
Object
- Object
- Cenit::API::Version
show all
- Includes:
- UrlSlug
- Defined in:
- lib/cenit/api.rb
Constant Summary
collapse
- ALL =
%w(v1 v2).collect(&:to_sym).freeze
- DEPRECATED =
%w(v1).collect(&:to_sym).freeze
Instance Attribute Summary
Attributes included from UrlSlug
#parent, #slug
Instance Method Summary
collapse
Methods included from UrlSlug
#initialize, #url
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(symbol, *args) ⇒ Object
35
36
37
|
# File 'lib/cenit/api.rb', line 35
def method_missing(symbol, *args)
(args.length == 0 && Namespace.new(symbol, self)) || super
end
|