Sha256: 4cc45a9d51315f9d5424d9cd31a1aeb694b0916317227c7597230df98ff40140
Contents?: true
Size: 514 Bytes
Versions: 2
Compression:
Stored size: 514 Bytes
Contents
module InvestecOpenApi::Models class Account < Base attr_reader :id, :number, :name, :reference_name, :product_name, :kyc_compliant, :profile_id, :profile_name def self.from_api(params = {}) rewrite_param_key(params, "accountId", "id") rewrite_param_key(params, "accountNumber", "number") rewrite_param_key(params, "accountName", "name") new params end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
investec_open_api-2.1.0 | lib/investec_open_api/models/account.rb |
investec_open_api-2.0.0 | lib/investec_open_api/models/account.rb |