Module: Levene

Defined in:
lib/levene.rb,
lib/levene/version.rb,
lib/levene/connection.rb,
lib/levene/models/base.rb,
lib/levene/models/lead.rb,
lib/levene/models/account.rb,
lib/levene/models/contact.rb,
lib/levene/models/campaign.rb,
lib/levene/extensions/binding.rb,
lib/levene/models/opportunity.rb,
lib/levene/models/campaign_member.rb

Defined Under Namespace

Modules: Extensions, Models Classes: Connection, DummyBinding

Constant Summary collapse

VERSION =
"0.0.4"

Class Method Summary collapse

Class Method Details

.enabled?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/levene.rb', line 20

def self.enabled?
  !ENV["SALESFORCE_DEV_USER"].nil? && !ENV["SALESFORCE_DEV_PASS"].nil?
end