Sha256: 8b9748b6d1b1a049c08f8cbb0eb60fa94cca3cba5007792ef71e9bc398f06f98
Contents?: true
Size: 547 Bytes
Versions: 14
Compression:
Stored size: 547 Bytes
Contents
# -*- coding : utf-8 -*- module Mushikago module Mitsubachi class Projects attr_reader :client def initialize client @client = client end def [] project_name Mitsubachi::Project.new(client, project_name) end def create project_name, options={} client.project_create(project_name, options) end def list client.project_list['projects'].map{|p| Mitsubachi.Project.new(client, p['name'])} end def each list.each end end end end
Version data entries
14 entries across 14 versions & 1 rubygems