Skip to content

Commit ee03986

Browse files
authored
Merge pull request #17 from test-IO/fix/gig_tasks_endpoint_to_allow_relationship_to_gig
Fix gig tasks, gig_invitations and gig_time_activities relationship to gig and app_worker
2 parents 85ee5a3 + 121195c commit ee03986

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
cirro-ruby-client (1.5.0)
4+
cirro-ruby-client (1.6.1)
55
faraday (< 1.2.0)
66
faraday_middleware
77
json_api_client (>= 1.10.0)

lib/cirro_io/client/gig_invitation.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class GigInvitation < Base
44
include CirroIO::Client::BulkActionHelper
55

66
has_one :gig
7+
has_one :app_worker
78

89
def bulk_create_with(worker_filter, auto_accept: false)
910
payload = { data: { attributes: attributes.merge(worker_filter: worker_filter.attributes, auto_accept: auto_accept) } }

lib/cirro_io/client/gig_task.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module CirroIO
22
module Client
33
class GigTask < Base
4+
has_one :gig
45
end
56
end
67
end

lib/cirro_io/client/gig_time_activity.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module CirroIO
22
module Client
33
class GigTimeActivity < Base
4+
has_one :gig
45
has_one :app_worker
56
end
67
end

lib/cirro_io/client/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# rubocop:disable Style/MutableConstant
22
module CirroIO
33
module Client
4-
VERSION = '1.6.0'
4+
VERSION = '1.6.1'
55
end
66
end
77
# rubocop:enable Style/MutableConstant

0 commit comments

Comments
 (0)