class CivicInformation::RepresentativesResource::Channel

Attributes

id[RW]
type[RW]

Public Class Methods

new(channel_json) click to toggle source
# File lib/civic_information/models/representatives_resource/channel.rb, line 5
def initialize(channel_json)
  @id = channel_json["id"]
  @type = channel_json["type"]
end