module Postmaster::APIOperations::Create::ClassMethods

Public Instance Methods

create(params={}) click to toggle source
# File lib/postmaster/api_operations/create.rb, line 5
def create(params={})
  response = Postmaster.request(:post, self.url, params)
  self.construct_from(response)
end