Class: Softlayer::FlexibleCredit::Program
- Defined in:
- lib/softlayer/flexible_credit/program.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_FlexibleCredit_Program'
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#key_name ⇒ Object
Returns the value of attribute key_name.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
-
#get_affiliates_available_for_self_enrollment_by_verification_type(message) ⇒ Object
verification_type_key_name.
- #get_object ⇒ Object
-
#self_enroll_new_account(message) ⇒ Object
account_template.
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/softlayer/flexible_credit/program.rb', line 5 def id @id end |
#key_name ⇒ Object
Returns the value of attribute key_name.
6 7 8 |
# File 'lib/softlayer/flexible_credit/program.rb', line 6 def key_name @key_name end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/softlayer/flexible_credit/program.rb', line 7 def name @name end |
Class Method Details
.get_company_types ⇒ Object
14 15 16 |
# File 'lib/softlayer/flexible_credit/program.rb', line 14 def self.get_company_types request(:get_company_types, Array[Softlayer::FlexibleCredit::Company::Type]) end |
Instance Method Details
#get_affiliates_available_for_self_enrollment_by_verification_type(message) ⇒ Object
verification_type_key_name
10 11 12 |
# File 'lib/softlayer/flexible_credit/program.rb', line 10 def get_affiliates_available_for_self_enrollment_by_verification_type() request(:get_affiliates_available_for_self_enrollment_by_verification_type, Array[Softlayer::FlexibleCredit::Affiliate], ) end |
#get_object ⇒ Object
18 19 20 |
# File 'lib/softlayer/flexible_credit/program.rb', line 18 def get_object request(:get_object, Softlayer::FlexibleCredit::Program) end |