module Troo::RemoteModelHelpers::ClassMethods
Public Instance Methods
all()
click to toggle source
@return [Hash]
# File lib/troo/helpers/remote_model_helpers.rb, line 11 def all {} end
by_board_id()
click to toggle source
@return [Hash]
# File lib/troo/helpers/remote_model_helpers.rb, line 16 def by_board_id {} end
by_card_id()
click to toggle source
@return [Hash]
# File lib/troo/helpers/remote_model_helpers.rb, line 26 def by_card_id {} end
by_list_id()
click to toggle source
@return [Hash]
# File lib/troo/helpers/remote_model_helpers.rb, line 21 def by_list_id {} end
by_member_id()
click to toggle source
@return [Hash]
# File lib/troo/helpers/remote_model_helpers.rb, line 31 def by_member_id {} end
with_collection(resources = [])
click to toggle source
@param [Array] @return [Array]
# File lib/troo/helpers/remote_model_helpers.rb, line 6 def with_collection(resources = []) resources.map { |resource| new(resource) } end