lib/seatsio/domain.rb in seatsio-45.2.0 vs lib/seatsio/domain.rb in seatsio-46.0.0
- old
+ new
@@ -229,22 +229,9 @@
@previous_page_ends_before = data.fetch('previous_page_ends_before', nil).to_i
@items = data.fetch('items', [])
end
end
- class Subaccount
- attr_reader :id, :secret_key, :designer_key, :public_key, :name, :active
-
- def initialize(data)
- @id = data['id']
- @public_key = data['publicKey']
- @secret_key = data['secretKey']
- @designer_key = data['designerKey']
- @name = data['name']
- @active = data['active']
- end
- end
-
class Workspace
attr_reader :id, :name, :key, :secret_key, :is_test, :is_active, :is_default
def initialize(data)
@id = data['id']