Module: RfidApi

Defined in:
lib/rfid_api.rb,
lib/rfid_api/card.rb,
lib/rfid_api/event.rb,
lib/rfid_api/action.rb,
lib/rfid_api/client.rb,
lib/rfid_api/device.rb,
lib/rfid_api/version.rb,
lib/rfid_api/social_account.rb

Defined Under Namespace

Classes: Action, Card, Client, Device, Event, SocialAccount

Constant Summary collapse

VERSION =
"0.0.4".freeze
@@username =
'user'
@@password =
'password'
@@format =
:json
@@api_version =
'v1'
@@logger =
nil

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (RfidApi)

    the object that the method was called on



26
27
28
# File 'lib/rfid_api.rb', line 26

def self.setup
  yield self
end