lib/api_client/resource/base.rb in api_client-0.3.3 vs lib/api_client/resource/base.rb in api_client-0.4.0

- old
+ new

@@ -12,10 +12,10 @@ dsl_accessor :prefix def inherited(subclass) super - small_name = NameResolver.resolve(subclass.name) + small_name = subclass.name.split('::').last.downcase subclass.namespace small_name subclass.prefix self.prefix subclass.always do name = subclass.name.split('::').last.downcase pre_fix = prefix