Initial commit
This commit is contained in:
commit
4b5f7906d7
33 files changed
+933
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module StrikeMe
|
||||
module API
|
||||
class Account
|
||||
class Profile < BaseModel
|
||||
attribute :account
|
||||
attribute :id
|
||||
attribute :handle
|
||||
attribute :canReceive
|
||||
attribute :currencies
|
||||
|
||||
delegate :balances, to: :account
|
||||
|
||||
def can_receive?
|
||||
canReceive.present?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user