Module: CityGrid::API::Mutable

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
11
12
13
# File 'lib/citygrid/api/mutable.rb', line 6

def self.included base
  base.define_action :mutate, :post, "mutate",
    :auth_token => true,
    :format => false
  base.define_action :mutate_post_only, :post, nil,
    :auth_token => true,
    :format => false
end