17 lines
470 B
Ruby
17 lines
470 B
Ruby
module Travis::API::V3
|
|
module Services
|
|
extend ConstantResolver
|
|
|
|
Build = Module.new { extend Services }
|
|
Organization = Module.new { extend Services }
|
|
Organizations = Module.new { extend Services }
|
|
Repositories = Module.new { extend Services }
|
|
Repository = Module.new { extend Services }
|
|
Requests = Module.new { extend Services }
|
|
|
|
def result_type
|
|
@resul_type ||= name[/[^:]+$/].underscore.to_sym
|
|
end
|
|
end
|
|
end
|