Skip to content

Commit 85ee5a3

Browse files
authored
Merge pull request #16 from test-IO/notifications
notifications
2 parents 1ed603f + 343a639 commit 85ee5a3

File tree

5 files changed

+25
-1
lines changed

5 files changed

+25
-1
lines changed

lib/cirro_io/client.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
require 'cirro_io/client/gig_time_activity'
1616
require 'cirro_io/client/gig'
1717
require 'cirro_io/client/payout'
18+
require 'cirro_io/client/notifications_broadcast'
19+
require 'cirro_io/client/notifications_channel'
20+
require 'cirro_io/client/notifications_template'
1821

1922
module CirroIO
2023
module Client
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module CirroIO
2+
module Client
3+
class NotificationsBroadcast < Base
4+
has_one :channel, class_name: 'NotificationsChannel'
5+
has_one :worker_filter
6+
end
7+
end
8+
end
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module CirroIO
2+
module Client
3+
class NotificationsChannel < Base
4+
end
5+
end
6+
end
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module CirroIO
2+
module Client
3+
class NotificationsTemplate < Base
4+
has_one :channel, class_name: 'NotificationsChannel'
5+
end
6+
end
7+
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.5.0'
4+
VERSION = '1.6.0'
55
end
66
end
77
# rubocop:enable Style/MutableConstant

0 commit comments

Comments
 (0)