Class: OFX::Data::Serialization::Signon::Response
- Inherits:
-
Object
- Object
- OFX::Data::Serialization::Signon::Response
show all
- Includes:
- Common
- Defined in:
- lib/ofx/data/serialization/signon/response.rb
Instance Method Summary
collapse
Methods included from Common
included, #initialize, #registry_entry, #serialize_collection, #serialize_object
Instance Method Details
#default_registry_entry_args ⇒ Object
10
11
12
|
# File 'lib/ofx/data/serialization/signon/response.rb', line 10
def default_registry_entry_args
[:"signon.response", nil]
end
|
#serialize(response, builder) ⇒ Object
14
15
16
17
18
19
20
|
# File 'lib/ofx/data/serialization/signon/response.rb', line 14
def serialize(response, builder)
builder.SONRS do |builder|
serialize_object(response.status, builder)
builder.DTSERVER response.dtserver.strftime("%Y%m%d%H%M%S")
builder.LANGUAGE response.language.to_s.upcase
end
end
|