Class: DeployGate::User
- Inherits:
-
Object
- Object
- DeployGate::User
- Defined in:
- lib/deploygate/user.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(name) ⇒ DeployGate::User constructor
Constructor Details
#initialize(name) ⇒ DeployGate::User
7 8 9 |
# File 'lib/deploygate/user.rb', line 7 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/deploygate/user.rb', line 3 def name @name end |
Class Method Details
.registered?(name, email) ⇒ Boolean
14 15 16 |
# File 'lib/deploygate/user.rb', line 14 def self.registered?(name, email) DeployGate::API::V1::User.registered?(name, email) end |