Sha256: c8ec8881a54face08fa02d3069c47a5350ce76b2495a37799448b17f16dcd532
Contents?: true
Size: 459 Bytes
Versions: 8
Compression:
Stored size: 459 Bytes
Contents
module Rentjuicer class Lead attr_accessor :client, :resource def initialize(client) self.client = client self.resource = "/leads.add.json" end def create(name, params = {}, raise_error = false) params.merge!(:name => name) Response.new(self.client.process_get(resource, params), raise_error) end def create!(name, params = {}) create(name, params = {}, true) end end end
Version data entries
8 entries across 8 versions & 1 rubygems