lib/money_s3/import.rb in money_s3-0.1.8 vs lib/money_s3/import.rb in money_s3-0.2.0
- old
+ new
@@ -1,7 +1,21 @@
require 'money_s3/base_element'
+require 'money_s3/reference_type'
+require 'money_s3/error_info_type'
module MoneyS3
class Import
include BaseElement
+
+ def status
+ at :Status
+ end
+
+ def reference
+ submodel_at(ReferenceType, :Reference)
+ end
+
+ def error_info
+ submodel_at(ErrorInfoType, :ErrorInfo)
+ end
end
end