module NationBuilder::Actions::Create

Public Instance Methods

create(params) click to toggle source
# File lib/nation_builder/actions/create.rb, line 4
def create params
  body = JSON.generate(params)
  JSON.parse(client.post(base_path, body: body).response.env[:body])
end