lib/sem4r/report_definition/report_field.rb in sem4r-0.1.2 vs lib/sem4r/report_definition/report_field.rb in sem4r-0.1.3
- old
+ new
@@ -1,5 +1,6 @@
+# -*- coding: utf-8 -*-
# -------------------------------------------------------------------
# Copyright (c) 2009-2010 Sem4r sem4ruby@gmail.com
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
@@ -22,11 +23,11 @@
# -------------------------------------------------------------------
module Sem4r
class ReportField
- include SoapAttributes
+ include Sem4rSoap::SoapAttributes
attrs =[
:field_name,
:display_field_name,
:xml_attribute_name,
@@ -48,10 +49,10 @@
def self.from_element(*args)
_from_element(*args)
end
def to_s
- "#{@field_name} #{@field_type} #{@address_line2} #{@city}"
+ "#{@field_name} #{@field_type}"
end
end
end