lib/kentaa/api/finder.rb in kentaa-api-0.2.1 vs lib/kentaa/api/finder.rb in kentaa-api-0.3.0

- old
+ new

@@ -14,10 +14,16 @@ case klass when "Action" client = Kentaa::Api::Clients::Actions.new(config) client.get(id) + when "Donation" + client = Kentaa::Api::Clients::Donations.new(config) + client.get(id) + when "NewsletterSubscription" + client = Kentaa::Api::Clients::NewsletterSubscriptions.new(config) + client.get(id) when "Project" client = Kentaa::Api::Clients::Projects.new(config) client.get(id) when "Segment" client = Kentaa::Api::Clients::Segments.new(config) @@ -25,9 +31,12 @@ when "Site" client = Kentaa::Api::Clients::Sites.new(config) client.current when "Team" client = Kentaa::Api::Clients::Teams.new(config) + client.get(id) + when "User" + client = Kentaa::Api::Clients::Users.new(config) client.get(id) end end end end