class Beaver::EntityVerification
EntityVerification
Model.
Attributes
documents[RW]
TODO: Write general description for this method @return [List of String]
Public Class Methods
from_hash(hash)
click to toggle source
Creates an instance of the object from a hash.
# File lib/beaver/models/entity_verification.rb, line 25 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. documents = hash['documents'] # Create object from extracted values. EntityVerification.new(documents) end
names()
click to toggle source
A mapping from model property names to API property names.
# File lib/beaver/models/entity_verification.rb, line 14 def self.names @_hash = {} if @_hash.nil? @_hash['documents'] = 'documents' @_hash end
new(documents = nil)
click to toggle source
# File lib/beaver/models/entity_verification.rb, line 20 def initialize(documents = nil) @documents = documents end