module Podio::ResponseWrapper
Public Instance Methods
collection(response)
click to toggle source
# File lib/podio/response_wrapper.rb, line 11 def collection(response) Struct.new(:all, :count, :total_count).new(response['items'], response['filtered'], response['total']) end
list(response)
click to toggle source
# File lib/podio/response_wrapper.rb, line 7 def list(response) response end
member(response)
click to toggle source
# File lib/podio/response_wrapper.rb, line 3 def member(response) response end