Class: Interfax::Inbound
Class Attribute Summary collapse
-
.allUsers ⇒ Object
Returns the value of attribute allUsers.
-
.lastId ⇒ Object
Returns the value of attribute lastId.
-
.limit ⇒ Object
Returns the value of attribute limit.
-
.offset ⇒ Object
Returns the value of attribute offset.
-
.unreadOnly ⇒ Object
Returns the value of attribute unreadOnly.
Class Method Summary collapse
- .index(unreadOnly = @unreadOnly, limit = @limit, lastId = @lastId, allUsers = @allUsers) ⇒ Object
- .initialize ⇒ Object
Methods inherited from Base
Class Attribute Details
.allUsers ⇒ Object
Returns the value of attribute allUsers.
4 5 6 |
# File 'lib/interfax/inbound.rb', line 4 def allUsers @allUsers end |
.lastId ⇒ Object
Returns the value of attribute lastId.
4 5 6 |
# File 'lib/interfax/inbound.rb', line 4 def lastId @lastId end |
.limit ⇒ Object
Returns the value of attribute limit.
4 5 6 |
# File 'lib/interfax/inbound.rb', line 4 def limit @limit end |
.offset ⇒ Object
Returns the value of attribute offset.
4 5 6 |
# File 'lib/interfax/inbound.rb', line 4 def offset @offset end |
.unreadOnly ⇒ Object
Returns the value of attribute unreadOnly.
4 5 6 |
# File 'lib/interfax/inbound.rb', line 4 def unreadOnly @unreadOnly end |
Class Method Details
.index(unreadOnly = @unreadOnly, limit = @limit, lastId = @lastId, allUsers = @allUsers) ⇒ Object
12 13 14 |
# File 'lib/interfax/inbound.rb', line 12 def index unreadOnly = @unreadOnly, limit = @limit, lastId = @lastId, allUsers = @allUsers response = self.get Api::Inbound::Index, { :unreadOnly => unreadOnly, :limit => limit, :offset => offset, :allUsers => allUsers, :lastId => lastId } end |
.initialize ⇒ Object
5 6 7 8 9 10 |
# File 'lib/interfax/inbound.rb', line 5 def initialize @unreadOnly = false @limit = 25 @lastId = -1 @allUsers = false end |