Sha256: 7623c6849a4414d8aaf5fe685d8749b08d8b87974afab190cb47a325582a37da
Contents?: true
Size: 453 Bytes
Versions: 13
Compression:
Stored size: 453 Bytes
Contents
module Legato module Management class Segment extend Finder def self.default_path "/segments" end def path "/segments/#{id}" end attr_accessor :id, :name, :definition, :user def initialize(attributes, user) self.user = user self.id = attributes['id'] self.name = attributes['name'] self.definition = attributes['definition'] end end end end
Version data entries
13 entries across 13 versions & 2 rubygems