Sha256: 791280ec2168d5b3e2429f5806038519b87981a46041226d1e94ab8bc6331d44

Contents?: true

Size: 207 Bytes

Versions: 2

Compression:

Stored size: 207 Bytes

Contents

module Siteleaf
  class Role < Entity

    attr_accessor :kind, :user_id, :site_id
    attr_reader :id, :created_at, :updated_at

    def create_endpoint
      "sites/#{site_id}/roles"
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
siteleaf-2.3.0 lib/siteleaf/role.rb
siteleaf-2.2.1 lib/siteleaf/role.rb