Module: SfCli::Sf::Model::BaseMethods::ClassMethods

Defined in:
lib/sf_cli/sf/model/base_methods.rb

Instance Method Summary collapse

Instance Method Details

#connectionObject



11
12
13
# File 'lib/sf_cli/sf/model/base_methods.rb', line 11

def connection
  @connection
end

#connection=(conn) ⇒ Object



15
16
17
# File 'lib/sf_cli/sf/model/base_methods.rb', line 15

def connection=(conn)
  @connection = conn
end

#describeObject



19
20
21
# File 'lib/sf_cli/sf/model/base_methods.rb', line 19

def describe
  connection.describe(name.to_sym)
end