Class: Cenit::API::Version
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
Instance Method Summary collapse
Methods included from UrlSlug
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 |