lib/myfinance/resources/base.rb in myfinance-1.2.1 vs lib/myfinance/resources/base.rb in myfinance-1.3.0
- old
+ new
@@ -31,10 +31,10 @@
entity_klass = Myfinance::Entities.const_get(entity_klass_name)
entity_klass.new(response.parsed_body(key))
end
def entity_klass_name
- self.class.to_s.gsub('Resources', 'Entities')
+ self.class.to_s.gsub("Resources", "Entities")
end
end
end
end