lib/atrium-ruby/models/institution.rb in atrium-ruby-2.10.5 vs lib/atrium-ruby/models/institution.rb in atrium-ruby-2.10.6
- old
+ new
@@ -22,10 +22,12 @@
attr_accessor :supports_account_statement
attr_accessor :supports_account_verification
+ attr_accessor :supports_oauth
+
attr_accessor :supports_transaction_history
attr_accessor :url
# Attribute mapping from ruby-style variable name to JSON key.
@@ -36,10 +38,11 @@
:'name' => :'name',
:'small_logo_url' => :'small_logo_url',
:'supports_account_identification' => :'supports_account_identification',
:'supports_account_statement' => :'supports_account_statement',
:'supports_account_verification' => :'supports_account_verification',
+ :'supports_oauth' => :'supports_oauth',
:'supports_transaction_history' => :'supports_transaction_history',
:'url' => :'url'
}
end
@@ -51,10 +54,11 @@
:'name' => :'String',
:'small_logo_url' => :'String',
:'supports_account_identification' => :'BOOLEAN',
:'supports_account_statement' => :'BOOLEAN',
:'supports_account_verification' => :'BOOLEAN',
+ :'supports_oauth' => :'BOOLEAN',
:'supports_transaction_history' => :'BOOLEAN',
:'url' => :'String'
}
end
@@ -92,10 +96,14 @@
if attributes.has_key?(:'supports_account_verification')
self.supports_account_verification = attributes[:'supports_account_verification']
end
+ if attributes.has_key?(:'supports_oauth')
+ self.supports_oauth = attributes[:'supports_oauth']
+ end
+
if attributes.has_key?(:'supports_transaction_history')
self.supports_transaction_history = attributes[:'supports_transaction_history']
end
if attributes.has_key?(:'url')
@@ -126,10 +134,11 @@
name == o.name &&
small_logo_url == o.small_logo_url &&
supports_account_identification == o.supports_account_identification &&
supports_account_statement == o.supports_account_statement &&
supports_account_verification == o.supports_account_verification &&
+ supports_oauth == o.supports_oauth &&
supports_transaction_history == o.supports_transaction_history &&
url == o.url
end
# @see the `==` method
@@ -139,10 +148,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [code, medium_logo_url, name, small_logo_url, supports_account_identification, supports_account_statement, supports_account_verification, supports_transaction_history, url].hash
+ [code, medium_logo_url, name, small_logo_url, supports_account_identification, supports_account_statement, supports_account_verification, supports_oauth, supports_transaction_history, url].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself