Module: Freshmaker

Defined in:
lib/freshmaker.rb,
lib/freshmaker/client.rb,
lib/freshmaker/version.rb,
lib/freshmaker/user_proxy.rb,
lib/freshmaker/ticket_proxy.rb

Defined Under Namespace

Classes: Client, TicketProxy, UserProxy

Constant Summary collapse

VERSION =
'0.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.email=(value) ⇒ Object (writeonly)

Sets the attribute email

Parameters:

  • value

    the value to set the attribute email to.



11
12
13
# File 'lib/freshmaker.rb', line 11

def email=(value)
  @email = value
end

.password=(value) ⇒ Object (writeonly)

Sets the attribute password

Parameters:

  • value

    the value to set the attribute password to.



11
12
13
# File 'lib/freshmaker.rb', line 11

def password=(value)
  @password = value
end

Class Method Details

.newObject



13
14
15
# File 'lib/freshmaker.rb', line 13

def new
  Freshmaker::Client.new(@email, @password)
end