Class: Deliverhq::Mailbox
- Inherits:
-
Object
- Object
- Deliverhq::Mailbox
- Defined in:
- lib/deliverhq/models/mailbox.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Object
readonly
Returns the value of attribute account_id.
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#check_spam ⇒ Object
readonly
Returns the value of attribute check_spam.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#destination_address ⇒ Object
readonly
Returns the value of attribute destination_address.
-
#destination_type ⇒ Object
readonly
Returns the value of attribute destination_type.
-
#domain ⇒ Object
readonly
Returns the value of attribute domain.
-
#domain_id ⇒ Object
readonly
Returns the value of attribute domain_id.
-
#encoding ⇒ Object
readonly
Returns the value of attribute encoding.
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#forwarding_token ⇒ Object
readonly
Returns the value of attribute forwarding_token.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#partial_address ⇒ Object
readonly
Returns the value of attribute partial_address.
-
#reply_stripping ⇒ Object
readonly
Returns the value of attribute reply_stripping.
-
#server_id ⇒ Object
readonly
Returns the value of attribute server_id.
-
#verification_token ⇒ Object
readonly
Returns the value of attribute verification_token.
-
#verified_at ⇒ Object
readonly
Returns the value of attribute verified_at.
Class Method Summary collapse
Instance Method Summary collapse
- #destroy ⇒ Object
-
#initialize(params) ⇒ Mailbox
constructor
A new instance of Mailbox.
Constructor Details
#initialize(params) ⇒ Mailbox
Returns a new instance of Mailbox.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/deliverhq/models/mailbox.rb', line 11 def initialize(params) @id = params['id'] @name = params['name'] @check_spam = params["check_spam"] @destination_address = params["destination_address"] @destination_type = params["destination_type"] @domain_id = params["domain_id"] @encoding = params["encoding"] @format = params["format"] @reply_stripping = params["reply_stripping"] @partial_address = params["partial_address"] @account_id = params["account_id"] @server_id = params["server_id"] @domain = params["domain"] @address = params["address"] @created_at = params["created_at"] @forwarding_token = params["forwarding_token"] @verification_token = params["verification_token"] @verified_at = params["verified_at"] end |
Instance Attribute Details
#account_id ⇒ Object (readonly)
Returns the value of attribute account_id.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def account_id @account_id end |
#address ⇒ Object (readonly)
Returns the value of attribute address.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def address @address end |
#check_spam ⇒ Object (readonly)
Returns the value of attribute check_spam.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def check_spam @check_spam end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def created_at @created_at end |
#destination_address ⇒ Object (readonly)
Returns the value of attribute destination_address.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def destination_address @destination_address end |
#destination_type ⇒ Object (readonly)
Returns the value of attribute destination_type.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def destination_type @destination_type end |
#domain ⇒ Object (readonly)
Returns the value of attribute domain.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def domain @domain end |
#domain_id ⇒ Object (readonly)
Returns the value of attribute domain_id.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def domain_id @domain_id end |
#encoding ⇒ Object (readonly)
Returns the value of attribute encoding.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def encoding @encoding end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def format @format end |
#forwarding_token ⇒ Object (readonly)
Returns the value of attribute forwarding_token.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def forwarding_token @forwarding_token end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def name @name end |
#partial_address ⇒ Object (readonly)
Returns the value of attribute partial_address.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def partial_address @partial_address end |
#reply_stripping ⇒ Object (readonly)
Returns the value of attribute reply_stripping.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def reply_stripping @reply_stripping end |
#server_id ⇒ Object (readonly)
Returns the value of attribute server_id.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def server_id @server_id end |
#verification_token ⇒ Object (readonly)
Returns the value of attribute verification_token.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def verification_token @verification_token end |
#verified_at ⇒ Object (readonly)
Returns the value of attribute verified_at.
4 5 6 |
# File 'lib/deliverhq/models/mailbox.rb', line 4 def verified_at @verified_at end |