Module: Parse::API::Aggregate::ClassMethods
- Defined in:
- lib/parse/api/aggregate.rb
Overview
Class methods to be applied to Client
Instance Method Summary collapse
- #aggregate_uri_path(className) ⇒ String
Get the aggregate API path for this class.
Instance Method Details
#aggregate_uri_path(className) ⇒ String
Get the aggregate API path for this class.
29 30 31 32 33 34 35 | # File 'lib/parse/api/aggregate.rb', line 29 def aggregate_uri_path(className) if className.is_a?(Parse::Pointer) id = className.id className = className.parse_class end "#{PATH_PREFIX}#{className}" end |