class Assembla::Client::Spaces::StandupAwayReports
Constants
- VALID_PARAMS_NAMES
Public Instance Methods
create(*args)
click to toggle source
@example api.spaces.standup_away_reports.create ‘project1’, standup_report: { what_i_will_do: ‘Work on #400’ }
# File lib/assembla_api/client/spaces/standup_away_reports.rb, line 13 def create(*args) arguments(args, required: [:space]) do permit VALID_PARAMS_NAMES, recursive: true end post_request("/spaces/#{arguments.space}/away_standup_report", arguments.params) end
Also aliased as: edit
list(*args) { |el| ... }
click to toggle source
@example api.spaces.standup_away_reports.list ‘project1’
# File lib/assembla_api/client/spaces/standup_away_reports.rb, line 34 def list(*args) arguments(args, required: [:space]) response = get_request("/spaces/#{arguments.space}/away_standup_reports", arguments.params) return response unless block_given? response.each { |el| yield el } end
my(*args)
click to toggle source
@example api.spaces.standup_away_reports.my ‘project1’, date: ‘2014-09-09’
# File lib/assembla_api/client/spaces/standup_away_reports.rb, line 24 def my(*args) arguments(args, required: [:space]) do permit VALID_PARAMS_NAMES + ['date'], recursive: true end get_request("/spaces/#{arguments.space}/away_standup_report", arguments.params) end