Module: AutotaskApi

Defined in:
lib/autotask_api.rb,
lib/autotask_api/query.rb,
lib/autotask_api/client.rb,
lib/autotask_api/config.rb,
lib/autotask_api/entity.rb,
lib/autotask_api/version.rb,
lib/autotask_api/entity_collection.rb

Defined Under Namespace

Classes: Account, AccountLocation, AccountTeam, AllocationCode, BillingItem, Client, Condition, Configuration, Contact, Contract, ContractBlock, ContractCost, ContractExclusionAllocationCode, ContractExclusionRole, ContractFactor, ContractMilestone, ContractRate, ContractRetainer, ContractRoleCost, ContractService, ContractServiceAdjustment, ContractServiceBundle, ContractServiceBundleAdjustment, ContractServiceBundleUnit, ContractServiceUnit, ContractTicketPurchase, Country, Department, Entity, EntityCollection, Error, ExpenseItem, ExpenseReport, Expression, InstalledProduct, InstalledProductType, InternalLocation, InventoryItem, InventoryLocation, Invoice, Opportunity, PaymentTerm, Phase, Product, Project, ProjectCost, ProjectNote, PurchaseOrderItem, Query, Quote, QuoteItem, QuoteLocation, Resource, ResourceRole, ResourceSkill, Role, SalesOrder, Service, ServiceBundle, ServiceBundleService, ServiceCall, ServiceCallTask, ServiceCallTaskResource, ServiceCallTicket, ServiceCallTicketResource, Skill, Task, TaskPredecessor, TaskSecondaryResource, Tax, TaxCategory, TaxRegion, Ticket, TicketCost, TicketSecondaryResource, TimeEntry

Constant Summary collapse

VERSION =
'1.0.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.clientObject

Returns the value of attribute client.



4
5
6
# File 'lib/autotask_api/client.rb', line 4

def client
  @client
end

.configObject

Returns the value of attribute config.



4
5
6
# File 'lib/autotask_api/config.rb', line 4

def config
  @config
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



11
12
13
# File 'lib/autotask_api/config.rb', line 11

def self.configure
  yield(config)
end