Sha256: 20329ee813d9158bd60cbab1bd2d8f03d001eaba2569f50e7ff6fa9c14a6a6bd
Contents?: true
Size: 465 Bytes
Versions: 5
Compression:
Stored size: 465 Bytes
Contents
module FreeboxApi module Resources class Freeplug def initialize(session) @session = session end def index FreeplugNetwork.new(session).collect { |freeplug_network| freeplug_network['members'] }.flatten end def show(id) @session.http_call('get', "/freeplug/#{id}/") end def reset(id) @session.http_call('post', "/freeplug/#{id}/reset/") end end end end
Version data entries
5 entries across 5 versions & 1 rubygems