class Fission::Lease

def initialize(args={})

Returns a new Lease instance.

Examples

:end - DateTime which denotes the end of the lease.
:start - DateTime which denotes the start of the lease.
:mac_address - String which denotes the MAC address of the lease.
:ip_address - String which denotes the IP address of the lease.
args - Hash of arguments:

Public: Initialize a Lease object.
def initialize(args={})
  @ip_address = args[:ip_address]
  @mac_address = args[:mac_address]
  @start = args[:start]
  @end = args[:end]
end